<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>鼠标移到猫那里放大两倍</title>
	</head>
	<style>
		img {
			margin-top: 200px;
			width: 120px;
			transition: all .6s;
		}
		img:hover {
			transform: scale(2, 2);
		}
	</style>
	<body>
		<div style="width: 800px; margin: 0 auto;">
			<h1>鼠标移到猫那里放大两倍</h1>
			<img src="img/cat.jpeg" />
		</div>
	</body>
</html>